package cn.jh.smartos.bean

import cn.jh.smartos.service.HearbeatSocketService
import cn.jh.smartos.utils.SPU
import java.net.SocketAddress
import java.util.HashMap

/**
 * Created by pjh on 18/3/13.
 */
object ConnConfig {

    val socketItemList = arrayListOf<String>()
    val socketServiceMap: MutableMap<SocketAddress, HearbeatSocketService> = HashMap()
    var isService: Boolean by SPU("isService", true)
    var ip: String by SPU("ip", "192.168.0.1")
    var port: String by SPU("port", "0")
}